// SettingsFragment.java
package com.example.myaku;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.fragment.app.Fragment;

public class SettingsFragment extends Fragment {

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view =  inflater.inflate(R.layout.fragment_settings, container, false);
        TextView myTextView = view.findViewById(R.id.myText);
        String myText = new StringBuilder()
                .append("@auth:喵\n")
                .append("version  1.0.1\n")
                .append("QQ:1965444051\n")
                .append("Github:https://gitee.com/jpc572/my-aku\n")
                .append("\n\n")
                .toString();

        myTextView.setText(myText);
        return view;
    }
}
